This could be because the heavy cream was too cold once added to the sugar, or it was added too fast. Try returning it to the heat and continue whisking to help smooth it out. If this does not work, unfortunately you will have to start over.