Warning · Doc drift
Impact
A setter task on that same event loop cannot run until the wait returns, so it cannot cancel the wait.
Recommended action
Specify a separate setter thread for the synchronous example and reserve same-loop task cancellation for the async client.