The department said the decision to halt classes was taken primarily to safeguard students and staff.