2. Make a plan to lure the enemy on the basis of the original imprisonment, and kill Connor to end the cycle.
3. According to the prediction, Connor will eventually become the leader of mankind and lead the Resistance Army to end the rule of Skynet, so the war between Skynet and mankind will eventually end in the victory of mankind. Therefore, Connor will not die whether he is killed or imprisoned, and Skynet will lose.
In other words, everything Skynet did was to kill Connor.