Salvaged from PR #99435. Fails on the next lock-free self._conn.<method>() call site added to hermes_state.py; reads belong in _read_ctx(), writes under self._lock (#99349). Co-authored-by: dimitrysuen <dimitrysuen@users.noreply.github.com>