Perm thread delete issue