Added thread safe blocking queue