Catch unknown exception at Stream.Read