Enable controlled shutdown
Merge pull request #6 from signalfuse/graceful-shutdown

Enable controlled shutdown