Refresh token ten minutes before expiry