more usages of stream_and_wait