endAndWait

open suspend override fun endAndWait()

End the stream and asynchronously wait for it to shutdown