idiom
down to the wire
до самого последнего момента; близко к сроку
Meaning
until the very last moment; close to the deadline
Example
The game went **down to the wire**, but they won in the end.
Игра длилась до самого конца, но в итоге они выиграли.