since we use the same lock object across, do you think we should lock access to the stream?