Master and hosts restore availability after disconnect from zookeeper