stop crashing on connection error