liberal use of 'return' in zmq lib