code: def close(self):
          
          for obj in self._temp_objects:
              try:
                  obj.drop()
              except HS2Error:
                  pass
  
          self.con.close()
docs: Close Impala connection and drop any temporary objects