It's acturally a damselfly larvae. Close relative to the dragonfly. They are just as bad to have in a tank. Eat the same as dragonfly larvae. May have come in as an egg. If so, you have more.
Don't worry, because they're a larvae, they can't reproduce.