Configure LocationService as a dependency. Add Thread.sleep due to avoid Google API rate limiting.