Partial COM cleanup for capture