Terminate process and its childs using pkill(unix) or taskkill(win)