Check if the loop starts and stops.