Teen in custody after threats made to police