I created a plugin to terminate orphaned processes left behind by the IDE during development. You can see the demo here:
Source and a release build are available here:
https://github.com/SwiftExpat/Deputy
Install it manually using these instructions: https://swiftexpat.com/docs/doku.php?id=rttk:deputy:install
There is a gentle nag for you to download my compiled demo, which you can decline.
The expert is built using TOTAL as a framework: https://github.com/DelphiWorlds/TOTAL
If you want to build your own, a step by step to setup your project is here: https://github.com/SwiftExpat/Deputy/wiki/Step-by-Step---Create-Total-plugin-project
Enjoy,
SwiftExpat