This blocks until something appears on the queue, correct? Won't that prevent shutdown?