m_spanningtree Fix cleanup of connections when an IOHook provider module is being unloaded