fix slow shut down with ZMQ 4. problem is that zmq_poll in ZMQ 3/4 is in milliseconds not microseconds like in ZMQ 2