added trigger_failover c client