Warning · Resource lifecycle
If a `threading.Event` subclass overrides `wait()` and makes `set` read-only, hook installation raises before cleanup starts.
Impact
Polling raises and leaves the caller’s condition patched and its deadline retained.
Recommended action
Move `_track_sync_cancel` in `proofline/client.py` inside the existing `try` so partial setup is cleaned up.