try to handle rest api throttling