How do I refresh an expired API connection?