Added support for using gevent greenlets