We have received reports that when making API requests larger than 1000 pages time out at the 1001 page. Users have reported this issue using a properly curl to get paginated (nounce and token) records through the People API to try and pull all of the data for over 100,000 people from a nation's people database.
Thanks for alerting us to this issue. If you are experiencing something similar please email into firstname.lastname@example.org. We are collecting data to better understand the problem.