It certainly looks like a leech, it may show no interest in you since some loaches are host specific but it may view any fish and snails you have as a handy snack. I have even found leeches on shrimp.
Best remove it and kill it since you can not be sure where it came from and if it has the potential to become a pest or if its harbouring any diseases your local wildlife are not accustomed to.