This would result in an unnecessary request (and probably an exception) if the last page has `limit` number of items, but there is no next page.

There are two ways to avoid that:

1. You can detect if there are more items if `link` item with `rel` `next` is present in the response. And if you are on the last page, this `next` link won't be present. (http://docs.rackspace.com/cdns/api/v1.0/cdns-devguide/content/pagination.html)

2. Save the number of all the retrieved records in a variable and stop when `yielded_records === response['totalEntries']`