Read config only if needed
shutdown server earlier
Merge pull request #67 from ticosax/lazy-config

Lazy config