make resource_static use gevent