replaced BlockingQueue which was not even used with priority queuing