rnbo, i have noticed the same thing in my tank a couple of times. I have no idea what these worms were or their origins, but i have not worried about them and they have not worried about me.
my fish have not had any symptoms of parasites, nor have i noticed anything unusual about my tank, so i left them alone.
FG