Process shutdown improved.