work around with gevent