workaround bug in 4.1.0

zeromq/libzmq#1052 makes it impossible to cleanup contexts