code: public void releaseAndTryRemoveAll() throws Exception {
  		Collection<String> children = getAllPaths();
  
  		Exception exception = null;
  
  		for (String child : children) {
  			try {
  				releaseAndTryRemove('/' + child);
  			} catch (Exception e) {
  				exception = ExceptionUtils.firstOrSuppressed(e, exception);
  			}
  		}
  
  		if (exception != null) {
  			throw new Exception("Could not properly release and try removing all state nodes.", exception);
  		}
  	}
docs: Releases all lock nodes of this ZooKeeperStateHandleStores and tries to remove all state nodes which
  are not locked anymore.
  
  <p>The delete operation is executed asynchronously
  
  @throws Exception if the delete operation fails