Reproduce: 1. Open terminal 2. Run long running task 3. ctrl+c 4. N, the process crashes Example: https://github.com/Microsoft/vscode/issues/38732