NEW YORK (CBSNewYork) — There was a scary near miss at JFK Monday night.

Lufthansa Flight 411 was cleared for takeoff and EgyptAir Flight 986 was instructed to stay behind a “hold line,” 250 feet behind the runway, at 6:50 p.m., FAA spokeswoman Kathleen Bergen told the Associated Press. The EgyptAir failed to stay behind the line, but did not enter the runway, she said.

A quick-thinking air traffic controller made a frantic call to the Lufthansa plane to stop.

“No! Whoa-whoa-whoa-whoa!” someone in the tower can be heard shouting as the EgyptAir plane crosses the hold-short line, according to LiveATC.net.

“Cancel takeoff! Cancel takeoff plans!

“Lufthansa 411 heavy is rejecting takeoff,” a pilot responded.

“All traffic is stopped right now,” a controller announced.

The FAA said the EgyptAir pilot was responsible for the close call because he failed to turn as instructed.

Stunned pilots, who witnessed the near-accident from above, were relieved.

“Those two were coming together,” an unidentified pilot is heard saying.

“That was quite a show. We thought it was going to be a short career,” a pilot of a nearby Virgin America plane said.