Think about it, if you reprogram your mind to look forward to death with peace and optimism, almost with a feeling of exitement, you are living life much better, and you certainly does not break any logical rules.
And the reasons for looking forward to death with peace, optimism and exitement are many.