I did found a solution to your problem, if you close the app during the race, you wont lose your progress, you will only lose your progress if you quit from the gym or the main menu, quitting from the races wont delete your progress so you can keep retrying by reopening the app from the race scene.