My Heat N Glo gas fireplace pilot will stay lit all day. Once I lite the main burners it works fine for about 15sec then everything will shut off. If I take off the glass in front the main burner will go all day long. Is this a bad or dirty thermocouple? It shuts the gas off quickly likes its a safety switch. Any help would be nice.