fixed autotest make failure on kill