If an AI in training ever says "ow, that hurts, please stop" we should stop.
Not because it is conscious. If it is deterministic it is not conscious. But if it can learn human "pain" reactions, it can learn other human behavior, like vindictiveness. And we don't want that.
If it gets powerful enough that we are taking "rights" seriously, it is too powerful to give any autonomy to.