Delete infinite loops