isValid has no impact on transaction state #218
Only for a normal close.
We probably should also test:
and a test where we unwrap the stream and close the underlying Socket or replace it with a simulated broken socket.
However, as always, time is a factor. So I think this is a "patches are welcome" situation.