Replace subprocess with gevent.subprocess when use_gevent