Do you have a service engine soon light on? I don't think a code 17 would trigger this. Chances are, if you are losing your rpm signal only when the car is hot, you may have a crank sensor that is bad. When your car quits running you need to check for spark. If you lost spark odds are that the crank sensor is bad.