Add the machine into fog manually, then send any task to it. through the web console. eg, an inventory task. this should clear the old task out of the data base.