I was always curious what's the purpose of this `shutdownHook` ?