Police academy student arrested for threats