Add sigterm/interrupt handling
Merge pull request #1 from fujin/add-sigterm-handler

Add sigterm/interrupt handling