Even though this scenario is suggested quite often, it doesn't make it good. Overtaking does not grant you a permission to speed. Also, while it's probably easier said than done, you should not succumb to the sunk cost fallacy and simply use the other pedal at your disposal.