Warning · Resource lifecycle
Impact
The registry retains the event and future, and the restoration error can mask `CancelledError`.
Recommended action
Guarantee registry removal, future cancellation, and coroutine closure even when restoration raises.