down to the wire
down to the wire {adj.}, {slang}
1. Running out of time, nearing a deadline.
Bob is down to the wire on his project.
2. Being financially almost broke, being very low on cash or other funds.
We can't afford going to a restaurant tonight — we're really down to the wire!
Categories:
Source: A Dictionary of American Idioms