a close call
1. a situation where something very unpleasant or dangerous nearly happened We managed to get out of the car before it caught fire, but we had a very close call. The business survived, but it was a close call.
2. if a competition or an election is going to be a close call, more than one person has a good chance of winning It's going to be a close call. The vote could go either way.