40 airports ordered to scale back flights