Queues: implement BlockingQueue, fix #214