add connected status and failover