def _drop_remote_namespace(ns):
    daemon_log('drop remote namespace "%s"' % (ns,))
    try:
        rns = _g_remote_namespaces[ns]
        del _g_remote_namespaces[ns]
        rns.__del__()
    except KeyError:
        pass # already dropped
    # send notification to all connections in _g_namespace_exports[ns]?