In Before Thread Deletion