endAndWait

abstract suspend fun endAndWait()

End the stream and asyncronously wait for it to shutdown