Warning · Concurrency
The setter starts its watchdog before HTTP setup and sets `cancel_event` even when waiter registration times out.
Impact
A correct client can return `STOPPED` without entering backoff, causing a spurious test failure.
Recommended action
Have the setter signal cancellation only after registration, and give teardown a separate way to wake and join it.