Make proper use of BlockingQueue