Warning · Concurrency
Impact
The wait can send its first HTTP request instead of returning `STOPPED`.
Recommended action
Install cancellation observation and sample the initial flag in one critical section synchronized with the event’s setter, before starting the deadline.