def cleanUp(self):
        for endpoint in self._endpoints.keys():
            endpoint.destroy()

        assert len(self._endpoints) == 0
Method should be called to destroy all machines and therefore all
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/Network.cleanUp