Modified timeout units to milliseconds for compatibility with ZeroMQ version 3 or greater.