add simthreadstate to commandhandlertest

8 jobs for close_thread in 137 minutes and 57 seconds (queued for 2 seconds)