Adding clean shutdown - does final commit before stop() exits
Merge pull request #35 from DemandCube/dev/kingofpoptart

Adding clean shutdown - does final commit before stop() exits