Moved notify icon disposal earlier in the shutdown process to fend off repeated attempts at shutdown