Automatic child process killer for Windows in C++