waits on streams