# NousResearch/hermes-agent · Agent abort fails silently when no sockets found

## Open now

- Nothing open on GitHub.

A bug where interrupting or aborting an agent request silently no-ops if force_close_tcp_sockets finds zero sockets, leaving requests alive. Fixes involve logging a warning and escalating the abort in that case, plus shutting down httpx mount pool sockets.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #73330. Verify it addresses your case.
- **Recommended:** read PR #73330 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-73330`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #72975: Interrupt/abort silently no-ops when force_close_tcp_sockets() finds 0 sockets, leaving the request alive for minutes

## Prior & competing PRs

- **#73330: fix(agent): shut down sockets on httpx mount pools during interrupt abort**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `run_agent.py`, `tests/run_agent/test_create_openai_client_reuse.py`, `tests/run_agent/test_tls_fd_recycle_corruption.py`
- **#73016: fix(agent): escalate abort when force_close_tcp_sockets finds 0 sockets (#72975)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `173fec8c03fadacfd17ae4ba7864796f960707bd`, `#72975`
- **#73059: fix(agent): log warning when client abort shuts down 0 active sockets (#72975)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#73330`

## Fix status

- Merged to main in PR #73330 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-28`.
- Subsystem: `agent`
