added idlethread cleanup in processor