Added simple blocking queue implementation