Close output stream before sending the page to the browser.