If you are not using live foods the most common cause of reinfections is a residual population of parasites caused by ending treatment early, this is something that happens easily if you have a slightly resistant strain. Try extending the treatment period to 14 days instead of just 10.