Hello.
I have always managed to give a potion to each of the cows, but after that, the quest log remains open and it reads something like "you gave a potion to one of the cows asking nothing in return", twice.
At this point, I don't have the faintest idea on how to close the quest.