Fix bug for ZooKeeperClient