Allow the ZMQ to deliver or drop the message before GC. Fixes #9103.
Merge pull request #9780 from s0undt3ch/issues/9103-zmq-assert

Allow the ZMQ to deliver or drop the message before GC. Fixes #9103.