correct socket shutdown on exit, moved config to config-default.yaml