kill children pids only if there are any children active