Warning · Resource lifecycle
Impact
The test fails but leaves `sender` blocked on registration without cancelling or joining it.
Recommended action
Wrap the helper assertion and bounded sender wait in a `try` block, then cancel and join `sender` in `finally`.