Cleanup on stop
Add logging of sql dump