Timeout issues when requesting large queries

Im running into an issue when requesting all of the items from a board. If the number of items is too high, the request times out. When I put a limit on the number of items to fetch, the request works. I would like to get all of the items of the board, and split it up into multiple queries of manageable chunks, that way the query won’t time out, e.g query 1 gets the first 250, query 2 gets the second 250 etc. How can I do this?