bpo-41162: Clear audit hooks later during finalization (GH-21222)

5 files changed