in reply to Re: Killing a child processin thread Killing a child process
The approach recommended above is actually the less violent
kill INT => $pid; [download]