Close StringWriter when we're done