Release process resources after kill