Intermediate version of BlockingQueue implementation. Synchronization on internal Object instance, no comments, not tested.