Mayor Bill de Blasio is on the brink of shutting down all classrooms across the school system, by far the nation’s largest, as New York confronts a second wave of the virus after months when the city’s success at curbing the outbreak made it the envy of the country. The closure could happen by Thanksgiving, if not sooner.