treat connection read error as connection being closed