Preventing the Garbage Collector From Ruining Your Day

If you’re working with ZeroMQ, you may run into an exception with the message “Context was terminated”. It turns out that this is due to the garbage collector cleaning up (or attempting to clean up?) the ZmqContext. Found this out...