Added some more logic when killing in case of KEEPOFF=true