I work with Producer-Consumer design pattern, where messages are delivered via Queue. Producer has an ability to close a queue, thus releasing get\'s lock and throwing Emp