Send quit signal to the wait queue.