made gevent an optional dependency for production mode