zmq input, fix memory leak