Need to find a way to refresh access token during a function call so that long calls don't get interrupted.
Need to find a way to refresh access token during a function call so that long calls don't get interrupted.