fix not to retry failover twice