changed timeout deadline to 10 seconds for faster failover