Make loop breakable