Warning · Resource lifecycle
Impact
The caller can resume while the child task is still live and its waiter is still registered on the event.
Recommended action
Cancel and await the child in `finally` before returning or propagating the caller’s cancellation.