You have a bar code on your helmet, and you get scanned every lap... Then you run as many laps as you can in that time +1 lap.
Meaning if you start a lap with 5 mins left... You finish it even after time expires.
Meaning if you start a lap with 5 mins left... You finish it even after time expires.