removing the chunked transfer encoding did not resolve.  try closing the...

... outputstream PrintWriter.