#24063 Added catch for ObjectDisposed Exception when IO stream is closed outside of execution context