Catching a crash if th server can't be reached.