only import gevent handler if gevent is present