Blocked queue.get to avoid deadlock