simplify the ZMQ mayRaise logic