That would probably work. There are going to be yeast in the beer, and they'll find the sugar and start fermenting. Keeping the beer cold will prevent this, so if you're wanting the syrup to stay as sugar, then yes, chill the yeast into a coma first.