DefaultWhenZooKeeperClient close client rather than curator framework directly.