Add a StreamResult safe for use in threaded/concurrent code.