Signals not handled when the queue is empty