Switched from gevent to normal threading