Warning · Concurrency
`_SyncSetWatch.restore` does the same.
Impact
A caller’s replacement setter can disappear when the wait ends.
Recommended action
Save the installed hook’s identity and restore the previous attribute only if that hook is still installed.