handle rate limit exceptions