Hydroids thrive when there are zooplanktom blooms. Typically they will disappear naturally in a captive environment because zooplankton blooms are usually very temporary.
Occationally, a very healthy reef tank will have a never-ending zooplanktom bloom and Hydroids will persist. Manual removal is about the only thing I can recommend when this happens. I have seen Mexican Turbograzers and Keyhole Limpets eradicate Hydroids though.