presto-main/src/main/java/io/prestosql/metadata/InMemoryNodeManager.java/InMemoryNodeManager/removeNodeChangeListener
class InMemoryNodeManager:    @Override
    public synchronized void removeNodeChangeListener(Consumer<AllNodes> listener)
    {
        listeners.remove(requireNonNull(listener, "listener is null"));
    }