Improve reporting of server connection errors.