use async/await to simplify CookieWorker and LatLngWorker