<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _handle_rate_exceeded(self, response):
 # pragma: no cover """Handles rate exceeded errors"""

        waiting_time = int(response.headers.get("Retry-After", 10))
        time.sleep(waiting_time)