Reworked the idle thread because it used a busy loop until now.