Fix for when API server is down