Workaround for locust bug https://github.com/locustio/locust/issues/52