Explain how you would implement rate limiting in a custom utility script to avoid hitting cloud provider API rate limits.