Force-closes an agent's live connection (network-drop simulation).
Future<void> closeAgent(String agentId) async { final ws = _conns[agentId]; if (ws != null) await ws.close(); }