I have conducted various tests.
When registering Stream.Close in Cancellation, there are occasional cases where the Read call returns normally upon cancellation.
In such instances, data corruption sometimes occurs.
For example, there was a case where the Read call returned 100, but the data was incorrect.
Therefore, I implemented a method where, when there is a return value after a Read, I check if the call was cancelled, and if it was cancelled, I do not process the data; doing so resolves the issue.
Tested on Rebex version 7.0.9649.
Thank you