Simplify idle_loop

- Passed regression test on STC
- Passed regression test on LTC
- Passed major regression test with 7 threads