Try and learn why it took you 17 minutes. Can you change to thinner rim tape to make it easier to remove and replace your tyres or do you need different tyres. I can change a tyre and use a mini pump all within 4 minutes. Tyres with Kevlar are more puncture resistant but are harder to remove and replace. deflate tyres before a race check for tiny flints that are working there way through the tyre to cause a puncture (Flats) then inflate and ride. Keep out of the gutter and avoid pot holes. It can take more than 30 miles for a flint or glass fragment to eventually cause a puncture, I know I once did some experiments to find out
Concentrate on what you are doing during a race if you puncture not those that are going by you. Make sure you do not pinch the inner tube between the rim and the tyre by trying to save 15 seconds
Don't forget that not drinking or having calories (gels are bars) during fixing a flat tyre in a competition will further hinder your performance. Do not start off again in the biggest gear you have instead spend a few seconds putting it into an easier gear. Triathletes who have had a puncture or mechanic problem have still gone onto win or do great if they have minimised the time lost. Cat Morriosn broke her chain and although she lost 35 minutes by the side of the road with official help from the race mechanics she still won Lanzarote.
Avoid going off to hard after getting back on the bike. There is never a great place to have a flat tyre but on a hot day change it in the shade or stop half way down a hill to make it easier to get going and get momentum before the next hill..
See you at the Races
Author of the Complete Book of Triathlon Training.