Tehran may exit talks if Israel attacks Lebanon