reset_rate_limit function

Reset rate limiting state