use specific flag to cancel failover