REQ socket can have race conditions
zmq.error.ZMQError: Operation cannot be accomplished in current state
When two tasks are doing a REQuest on the same socker at the same time.
Add a lock.
zmq.error.ZMQError: Operation cannot be accomplished in current state
When two tasks are doing a REQuest on the same socker at the same time.
Add a lock.