use stream::write and embed processWriteQueue