Fix crash if process disapears.