Release lock before waking up the waiters.