make more tolerant of network errors