better error reporting if server offline