Added the ability to refresh the oauth token 3 days before the expire