fail correctly on connection drop