add zmq pub-sub pattern for connection
i add removeProcess function and make it work