Is it just IOException or one of the more specific form (e.g. `ClosedChannelException`)?