Handle broken API connection