class library: add cleanup arg and reset method to EmbedOnce stream.