Thread check (IDEA)