fix tail kill process exception