Now, the access token is updated before the application exits. This reduces the time spent on the first GET request after the applicaiton starts again.