sleeping to avoid API throttling