Does the boiler cut out to pilot from full flame, or modulate from full flame to low flame instead (and then perhaps cut out)?. First could be dirty venturi causing differential air pressure safety switch to cut out (common problem, easy fix, google it), second blocked DHW exchanger causing primary loop overheat, messy to fix.
c, December 2007