fixed connection time out
configuration saving, create default config if not exists