HPCC-12183 component cleanup with HPCC-12093 dependencies

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
Wouldn't this be better as a loop, that rechecked the pid and spewed a warning if still running.
Not sure if should ever continue if the pid continues to run...