make resource_static use gevent
Merge pull request #3215 from dimagi/resource-static-speedup

make resource_static use gevent