Cryogenics? No I don't think so. Once those bloodworm are frozen, they're not going to come to life again. I'm just guessing really but I would imagine the flies are probably attracted to the tank because it's warm and damp and may contain small particles of food.
I went to that website you mentioned,

I was going to mention it before but didn't want to patronise you, using any kind of insecticides around the fish tank is a very bad idea.
I would just keep it clean for a while, wipe it down every day and see if the flies start diminishing