Only cancel a thread on -[dealloc] if it's still running.