code: def _dispose(self):
          
          self.close()
          # _DBProxy.dispose doesn't actually call dispose on the pool
          conn_params = self.get_connection_params()
          key = db_pool._serialize(**conn_params)
          try:
              pool = db_pool.pools[key]
          except KeyError:
              pass
          else:
              pool.dispose()
              del db_pool.pools[key]
docs: Dispose of the pool for this instance, closing all connections.