break flagloop when leashflag is None or Impossible