one way to combat a custard that will not set is to reboil it. if you thought your custard was thickening up, and then refrigerated it to let it set, only to find that it had thinned out, simply pour the custard base back into a pot and cook it more (via crafty baking).