Better API failover