How to get more than 50 users in one call in the Organizations API

Hey, how to get more than 50 users in one call in the Organizations API without passing the 10 sec limit?
I made script that make the calls multiple times but that takes forever to load since I’m testing with more than 2000 users.
Is there any recommendations or workaround for this?