NJ teacher's "terroristic threats" forces school closure