saved by the bell

saved by the bell (something that you say when a difficult situation is ended suddenly before you have to do or say something that you do not want to) — пронесло, еле-еле пронесло

Example: Luckily, my bus arrived before I had time to reply. Saved by the bell.

--------------------
In a boxing match, a bell rings when it is time for the fighting to stop.

see also
[by the skin of one's teeth]
[within an inch of]
[close call]
[saved by the bell]
[narrow escape]