No longer unset shutdown hook as that breaks caching plugins.