Move check if the locust is stopping and should be exited to a more sensible place.
Move check if the locust is stopping and should be exited to a more sensible place.

mbeacom/locust,mbeacom/locust,mbeacom/locust,locustio/locust,locustio/locust,locustio/locust,locustio/locust,mbeacom/locust,heyman/locust