Modifications for function stop in Throttler and test.