add: failover option has been added.
change: handling failover option.