Attempt to refresh access token if expired at upload time