find if process was killed in a right way