[Bug] Claude consumes tokens and responds after manual background task termination

Resolved 💬 3 comments Opened Jan 7, 2026 by sochowski Closed Feb 21, 2026

Bug Description
When I killed some background tasks manually, claude consumed some tokens and replied to the tasks being killed. I believe it was in the middle of thinking after I ran another command before.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.76
  • Feedback ID: 65b32523-39c0-44a9-8f95-f239ef894703

Errors

[{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T19:57:47.196Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T19:58:49.547Z"},{"error":"McpError: MCP error -32000: Connection closed\n    at fromError (/$bunfs/root/claude:1004:42492)\n    at _onclose (/$bunfs/root/claude:1004:48952)\n    at <anonymous> (/$bunfs/root/claude:1004:48266)\n    at onCloseHandler (/$bunfs/root/claude:1058:3421)\n    at emit (node:events:101:22)\n    at <anonymous> (ws:131:20)","timestamp":"2026-01-07T20:41:26.443Z"},{"error":"McpError: MCP error -32000: Connection closed\n    at fromError (/$bunfs/root/claude:1004:42492)\n    at _onclose (/$bunfs/root/claude:1004:48952)\n    at <anonymous> (/$bunfs/root/claude:1004:48266)\n    at onCloseHandler (/$bunfs/root/claude:1058:3421)\n    at emit (node:events:101:22)\n    at <anonymous> (ws:131:20)","timestamp":"2026-01-07T20:41:26.444Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:1004:54961)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:1004:54888)\n    at callTool (/$bunfs/root/claude:1018:32304)\n    at callTool (/$bunfs/root/claude:1018:32868)\n    at Gn_ (/$bunfs/root/claude:1147:36428)\n    at Gn_ (/$bunfs/root/claude:1147:37347)\n    at am (/$bunfs/root/claude:1147:31947)\n    at am (/$bunfs/root/claude:1147:31993)\n    at zKA (/$bunfs/root/claude:2164:7551)","timestamp":"2026-01-07T20:41:26.447Z"},{"error":"Error: 1P event logging: 200 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:190:35345)\n    at doExport (/$bunfs/root/claude:190:34453)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T20:41:56.053Z"},{"error":"Error: {\"message\":\"Failed to export 200 events\",\"originalLine\":\"190\",\"originalColumn\":\"34532\",\"line\":\"190\",\"column\":\"34532\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 200 events\\n    at doExport (/$bunfs/root/claude:190:34532)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1618:25028)\n    at <anonymous> (/$bunfs/root/claude:189:61116)\n    at _VD (/$bunfs/root/claude:189:61660)\n    at <anonymous> (/$bunfs/root/claude:190:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T20:41:56.054Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:02:05.951Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:801:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:07:33.956Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:801:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:08:40.816Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:801:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:18:37.851Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:19:49.984Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:26:11.975Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:801:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:30:04.179Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:41:45.791Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:801:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:42:45.183Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:458:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-07T21:44:00.241Z"},{"error":"Error: Request was abo

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗