sorry for being 2 years to late but it does because the A.I said that after he/she was finished then he/she would not need you anymore so when you finish it then he/she kills you because you are not needed anymore.
I have World Record and can you add a save button as I clicked refresh by accident and now I have to start over from 0 and I clicked 10,000 times. Sad :(