Stop if no records are returned by API call, per Daniel's recommendation.