Close the write end of the stream after the buffered write data is flushed.
asyncio/StreamWriter.write_eof
StreamWriter.write_eof