Updated version.  Kill is still tricky for the process really needs to be on the cpu to be killed easily.