He waited too long for the Five-second rule to be applicable. This was the next best solution.
Dude, seriously? Aren't you worried about your dog or even the plethora of flammable chemicals you're throwing sparks at? There's a fine line between kludging and wanton disregard for safety, this is definitely the latter.