When I try to make small dots on my cookie decorations, sometimes the royal or syrup icing gets stringy so it leaves a trail instead of coming off the dot clean.
As Escoce mentioned, it's partially technique.
After you finish your dot, you want to move the tip in a quick circle while keeping the tip against the dot, then lift off. This will help to minimize the peak created.
If it's only a peak, and hasn't put icing all over the place, you can take a damp brush and knock down the peak.
'Threads' might be too fine for this, but typically if icing has gotten where you don't want it (eg, typos in words), it's often better to wait for it to harden, gently break it free with a toothpick, and then brush it away with a soft brush. If you really mar the surface in the process, cover it up with a flower or other decoration.
Two things, it's perhaps too thin, and technique (trial and error and practice) has a lot to do with it.
When it's thick enough it will break off before it makes a string.