Only Delete pgdir and kstack when last thread, not if parent thread