Add close statement to servlet.