Warning schools could close