Use gevent.sleep when it's available.