def destroy(self):
        for interface in self._interfaces.copy():
            interface.destroy()

        assert len(self._interfaces) == 0

        self._endpoint.unregisterNamespace(self)
        self._endpoint = None

        super(Namespace, self).destroy()
Method should be called to destroy the namespace and will take care
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/Namespace.destroy