Allow the ZMQ to deliver or drop the message before GC. Fixes #9103.
Not all versions of PyZMQ have the `destroy()` method!?
Add missing import.
Merge pull request #9827 from s0undt3ch/0.17

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