patched infinite loop in zmq_srv.py