Fixed time handling for gevent