Adjusted shutdown procedures.