Alternate method for terminating sub-processes, this time without using queue poisoning