Checking kill ret code