ACCUMULO-1379 Fix edge cases if error in closing ZooKeeperInstance