Texas school cancels all classes after police foil 'credible threat of violence’