School is closed to pupils