Avoid write-and-flush without awaiting
Avoid write-and-flush without awaiting

This fixes a multiplexing handshake bug when the streams are stdin/stdout streams which malfunction if flushed before a WriteAsync call has completed.

AArnott/Nerdbank.FullDuplexStream