CORRECT SHUTDOWN PROCEDURE