fork from locust.io 0.7.0