Always overwrite old files when writing configs
Fix re-connection