Allow the jam to come down to room temperature before refrigerating. Cooling slowly will help it to thicken and set more effectively.