Gov. Andrew Cuomo should direct the state Department of Health to shut down gates at JFK International Airport and block planes carrying passengers from west African from disembarking, Republican candidate for governor Rob Astorino said in a conference call with reporters.

Astorino, the Westchester County executive, ripped Cuomo’s response to the Ebola outbreak, which so far has infected two nurses.

Astorino in particular knocked Cuomo for at first saying a travel ban from west African nations wouldn’t work and then on Sunday expressed an openness to such a ban.

“We’ve got a governor right now who ridiculed me two weeks for saying this. He said it wouldn’t work,” Astorino said in the call. “Now yesterday he said he’d consider it, and yet I think he sees it as a nuisance during his book tour.”

Any flight ban would be up to the federal government, a move that Cuomo on Sunday said should be “seriously” considered at this point.

While there aren’t any direct flights from west African countries into JFK, Astorino said the governor should block incoming flights with passengers who originate from the region from disembarking.

“We’re going to be dealing with a major public health crisis soon,” Astorino said. “It’s a matter of when, not if.”

Astorino had initially stated passengers from Ebola-stricken countries should be barred from the U.S., but later in the call expanded on that by saying the entire plane’s passengers, including U.S. citizens, should be blocked

“We can’t just keep our heads on the sand,” Astorino said. “We should do everything possible to prevent this from happening.”

Ebola cannot be contracted through the air, water or through casual contact, according to the Centers for Disease Control.