Closing of ZMQ implemented