catch zmq errors in case the broker is restarted