handle API rate limit problem