A pilot that lights and then dies after a few minutes is not usually an electrical fault. It is telling you about the air around it.
Two behaviours, two causes
Dies the instant you release the button. The flame signal is too weak. Thermocouple, position or connection.
Burns for a while, then goes out. Draft or air supply. The flame is being pulled away or starved.
The draft test
With the unit running, hold a smoke source or a lit match near the draft hood and watch which way the smoke goes.
Up the vent is correct. Into the room is a spillage problem, and the appliance should be shut off until it is corrected.
What interrupts draft
- a blocked or sagging vent
- a termination too close to a wall or an opening
- a garage door that seals the space
- a dryer or exhaust fan pulling air the wrong way
- stored goods against the unit
In this climate, obstruction is more often a box, a nest or a nearby exhaust than snow.
Combustion air
A gas appliance needs air. A closet with a solid door, or a garage used for parking and storage, may not provide it.
The fix is ventilation, not a bigger pilot flame.
When it is the signal
Test the thermocouple output with the pilot lit. Clean the terminal at the valve, confirm the flame wraps the tip, and replace the part only if the reading stays low.
The control
A valve that will not hold a pilot with a proven flame is replaced as an assembly, matched to the model and fuel.
Safety
A gas smell means leave, shut the supply outside if possible, ventilate and call. No flame testing in a room that smells of gas.