race ends after expire of chosen number of laps