There is no danger as the thermostat cuts out the flame after a while, but some pump of some sort keep working.
I have fixed it, it was the microswitch - I checked that the diaphragm was working with hot water tap open and close but switch was not doing it's switching.
Austin
September 2010