def close(self):
<EOL>self.flush()<EOL>self.__buffer = None<EOL>self.__bufferidx = -<NUM_LIT:1><EOL>self.conn.send("<STR_LIT>")<EOL>self.conn.send("<STR_LIT:\r\n>" )<EOL>self.__closed = True<EOL>
Closes the stream to output. It destroys the buffer and the buffer pointer. However, it will not close the the client connection