I have a vermont casstings with a remote control to control the gas valve, the owner wants to install a thermostat. I found 2 black wires conected where the remote seems to connect, spliced in my thermostat, call for heat, it lights up. The only problem is after a few minutes the pilot cuts out and refuses to stay lit. It runs on the local setting just fine, but with no control. Is it possible to modify this or must I change the gas valve, any ideas?