Workaround for deadlock problem in zmq auth