def close_connection(self, connection, force=False):
if force:<EOL><INDENT>try:<EOL><INDENT>connection.close()<EOL><DEDENT>except self.operational_exceptions:<EOL><INDENT>self.config.logger.error('<STR_LIT>')<EOL><DEDENT>for name, conn in self.pool.iteritems():<EOL><INDENT>if conn is connection:<EOL><INDENT>break<EOL><DEDENT><DEDENT>del self.pool[name]<EOL><DEDENT>else:<EOL><INDENT>pass<EOL><DEDENT>
overriding the baseclass function, this routine will decline to
        close a connection at the end of a transaction context.  This allows
        for reuse of connections.