stream on_end