swap read-write-stream for through