private static void close(Collection<NodeMutex> nodes) {
            RuntimeException thrown = null;
            for (NodeMutex node : reversed(List.copyOf(nodes))) {
                try {
                    node.close();
                }
                catch (RuntimeException e) {
                    if (thrown == null) thrown = e;
                    else thrown.addSuppressed(e);
                }
            }
            if (thrown != null) throw thrown;
        }
A node with their locks, acquired in a universal order.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/Nodes.java