don't crash on connection errors