Fix crashes occuring when downloading wrong server configuration