def shutdown(self):
        if self.cluster is not None:
            self.cluster.shutdown()
            self.cluster = None


# Cluster allocation requires ssh configuration and multiple hosts.
Shutdown, releasing resources.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/resource.py/ClusterAllocator.shutdown