Can we travel to the past? Irreversible physics along closed timelike curves