when I had them back in the day. i siphoned out as many as possible, removed my live rock, placed in seperate tank, used flatworm exit, skimmer and carbon, shook off the rocks really good and put them back in the DT and was fine ever since.
don't let them get out of hand, they can populate...