No need to. I just modified Extractor to hook a shutdown hook to Runtime to guarantee graceful shutdown (disconnect HSQL, etc) in case of its termination.

I also modified the main so that it will `while (true) { Thread.sleep(10000);}` after setting up the collector. Extractor.Main also hooks a shutdown hook so that when you press Ctrl-C it will fork a thread and invoke Extractor.Stop() which will shutdown the Extractor process.