[BUG] claude code cli can not quit

Resolved 💬 4 comments Opened Jan 23, 2026 by carrot-codeing Closed Mar 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

when the claude code start a backgroud bash task like start a npm vite, it can't be kill any more, it happens when the api is error

What Should Happen?

Unable to connect to API (ConnectionRefused)
Retrying in 9 seconds… (attempt 7/10)

<img width="914" height="222" alt="Image" src="https://github.com/user-attachments/assets/dd00b175-0c47-4272-a0a4-9eb3b5beec4c" />

Error Messages/Logs

Steps to Reproduce

start a backgroud bash task like start a npm vite

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.17 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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