9vac to 4n35 to ardunio

so I plugged the transformer into one of those cheap strip surge protectors - I used the switch on the surge protector to switch the transformer on and off - no issues.

but if I unplug the transformer from the strip with the power on it locks up

on the pins 4/5 on the 4n35 (to the arduino) - power off get 19M? and power on get .4k? readings with arduino pins not connected

with arduino pins connected get - power off .37K? and 5volts and power on 1.24K? and .5volts readings