Import gevent conditionally