refactor the rate-limit shutdown