fix a bug on zookeeper server live checking