code: def _rollback_handle(cls, connection):
          
          try:
              connection.handle.rollback()
          except snowflake.connector.errors.ProgrammingError as e:
              msg = dbt.compat.to_string(e)
              if 'Session no longer exists' not in msg:
                  raise
docs: On snowflake, rolling back the handle of an aborted session raises
          an exception.