I have seen all kinds of bugs, planeria, hydra, silly worms, others I havent id'd, LOL ~ and I used the small dog dewormer in the powedered form. Thier IS a HUGE thread about it in killing this "what is this in my tank " It states in that thread that these planeria form from overfeeding, I am not sure where the hydra come from , but I am still a little skeptical that they are introduced like pond snails (from another sorce) as like I mentioned I had a one gallon tank , I had took out the betta , took off the light , added white big rock from my 55 (angel tank~clean) and after a few mths with NO food going into that tank, *( could have been leftovers in the substrate thow ) I found the largest hydra I had EVER seen !! this one guy had 6 tenicles and was over 1" long !!! eeww!!! SO I had the conveince to dump my tank, and YES , EVERY tank can be re-used !! tahts why we buy cheap retile tanks, clean them and put fish in them just fine

~~~
to the OP , YOU realy need to SEARCH hydra, and how to gwt rid of it, You will find endless threads of others having this same problem , and IN MOST of my EXP. It has alwasy been Overfeeding ! I cant belive they live and strive off of light, *( ei: mine had NO light, NO food) So I dont know why they did not die and got big ~ but I DO know how to KILL them , IF you can be a VERY careful fishkeeper esp. for your shrimp . This stuff CAN & WILL kill shrimp & fish but NOT at the small dose I am speaking of . You dose, wait 24 hours, do gravel vac / 50% change, then look' for any more, if you see' more you dose again . IF you have ANY questions about this , I will look up the threads myself and give you the links . HTH ~ good luck and get those hydra GONE asap !! they can harm your shrimp & fish !!!!
**(((( PLEASE TRY THE ABOVE MENTIONED ACTION 1ST, IF IT DOESENT WORK THEN USE THIS ONE . )