[Question] Potential infinite value

How do you incorporate potential infinite value into a utility function? If you assigned some non-zero probability of the second law of thermodynamics being violated sometime in the future, how should that change how much you value a long future?