Better process cleanup