add support for dummy network
destroy zmq context