With 40 seconds left? Does a couple minutes really mean that much? What if you had hit an accident? What if you had hit two extra lights?
If you are really cutting it that close to another appointment more important, than perhaps you should not have gone in the first place or left even earlier.