addShutdownHook