Retry logic for places api search.