Choosing where to kill process for better reliability