Replaced BlockingQueue by blocking single element