Fix consumer killing on empty queue