Extractor already has their own shutdown hook. This is like the commander line program counterpart of `contextDestroyed` in web app which will get called when the program shutdown.

Speaking of which the guy who's supposed to write that `contextDestroyed` was unable to find any document on how to do that. I did a quick google and couldn't find anything either. You got any hint?