protected override void Finish() { base.Finish(); try { session.RemoveWatch(pathname); } catch { // Ignore, we've lost WMI connection } }