better error handling for when GeoServer might be down