use correct stop reasons on transport errors