stop list iterating