Switched to gevent-based concurrency