Cook over medium-low heat while stirring and scraping the bottom and sides of the pot constantly with a wooden spoon until the mixture coats the back of the spoon, about 15 minutes. Transfer to a bowl. Let cool. Cover and refrigerate for 3 hours or until completely chilled. Strain through a sieve, as needed.