Classrooms in the western German city of Duisburg have been closed after extremist threats linked to several schools. Officials said the measure was precautionary.