Warning · Resource lifecycle
If timeout stops cancelling the child, the parent has already returned when the cancellation assertion fails.
Impact
The detached waiter remains pending until event-loop teardown.
Recommended action
Capture the waiter task, cancel its pending future, and await the child in `finally` after the assertions.