properly fire error message when server unavailable or unreachable