Preventing zombie problem