set process to null after killed it