check active threads