Fixed incomplete recursion for subprocesses which left processes running.