code: def close_connection(self, connection, force=False):
          
          if force:
              try:
                  connection.close()
              except self.operational_exceptions:
                  self.config.logger.error('ConnectionFactory - failed closing')
              for name, conn in self.pool.iteritems():
                  if conn is connection:
                      break
              del self.pool[name]
          else:
              pass
docs: 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.