closed outputstream after sending the response