Add support for paginated contact retrieval.

``break`` is just to get out of the while loop?