Mablak showed me this trick a while ago, your worm is trapped, and because it's a perfectly vertical wall the flames keep falling, so every flame will burn out on the worm, you can trap worms with girders and do this from time to time if the opportunity arises.