closeWrite method
Closes the stream for writing but leaves it open for reading.
closeWrite does not free the stream, users must still call close or reset.
Implementation
@override
Future<void> closeWrite() async {
_logger.fine('[UDXP2PStreamAdapter ${id()}] closeWrite() called, performing full stream close as dart-udx does not support half-closure.');
await _close();
}