You can't close the pitlane during VSC. They could lower the pitlane limit or something to make it neutral, but you have to be able to pit particularly in the aftermath of an incident.
Ferrari's best chance is going to be the first three to four laps, but having the mediums on will make it hard. Even if Leclerc does get him early, they'll be vulnerable later.