Fixed compatibility issue with pyzmq 13.0.0