fixed shutdown task