Let the jam cook another 5 minutes after you adjust the seasoning, cut the heat, give it a few good stirs, and let it cool thoroughly, uncovered (you don't want condensation to water down your jam, which will also make it more likely to spoil faster), before putting it in a container to refrigerate.