Old Biscuit is on target.
The igniter on the refrigerator is also a sensor. If flame isn't proven right after it sparks, it will wait a few seconds and try again a couple of times before a safety lockout. To get it to try again, you need to turn the refrigerator off and back on.
There's a unique thing about flames. They only allow DC current to pass. The control board sends an ac signal to the combination flame rod and igniter. It expects to sense a dc current when the flame is present. If it senses an ac current, it knows the flame rod is somehow shorted. Rust may have fallen on it allowing it to pass the ac signal and stopping the ignition process.
If you get up on the roof and remove the refrigerator vent cap, you can pull the spiral out of the flue and brush it off. Raise it up and down to knock all the flaky rust off the walls of the flue. Running a bottle brush (flue brush) up and down helps too. Vacuum out the burner area to remove all the fallen rust before trying it again.
If all that fails, it might be time to think about a control board.
Don Ford
2004 Safari Trek 31SBD (F53/V10 20,500GVW)
'09 HHR 2LT or '97 Aerostar MiniVan (Remco driveshaft disconnect) for Towed vehicles
BlueOx Aventa II Towbar - ReadyBrake Inertia Brake System