How do you handle network latency and rate-limiting when fetching location data from a REST API like the Google Places web service for AllTrails?