It came close to happening (4,5)
I believe the answer is:
near thing
(Other definitions for near thing that I've seen before include "Even the short-sighted could plainly see that" , "Knife-edge event" , "Narrow escape, close shave" , "Close call" , "Lucky escape" .)