internal void Close() { if (WriteStream != null) { WriteStream.Close(); } if (ReadStream != null) { ReadStream.Close(); } } }