Re: Why not ban pit stops when the safety car is out.
You could close the pit lane for routine pit stops, but allow stops for exceptional circumstances. This would need to be policed to avoid being gamed. Pit lanes are closed in other formula and used to be closed for the first couple of laps of a safety car in F1.
Alternatively, while under VSC conditions, any cars that pit could be held in their pit box at or the end of the pit lane until the position they would have occupied had they stayed on track comes around. They can then be released back onto the track without gaining an advantage.