coiffer au poteau

Verb

 * 1)  to pip to the post to overcome at the last minute, to overtake at the decisive moment, to beat to the punch at the very end