That's very strange. The ZeroMQ context used by MWorks is created once and persists until MWServer is closed. Nothing that MWorks does should cause it to be terminated.
It's possible that this issue results from an unintended interaction between different versions of the ZeroMQ library. On your iMac, have you installed any Python packages that embed ZeroMQ (pyzmq being the most likely suspect)? If so, maybe try uninstalling said packages and testing if that resolves the issue.