zawisnąć na włosku

Etymology
lit. 'to hang on by [a] hair'.

Verb

 * 1)  to be on the line, to hang by a thread, to hang in the balance
 * 2)  to be on the line, to hang by a thread, to hang in the balance