You will never get an indefinite life.
But I use the caps and when I find the nozzle has solidified I put a new nozzle on. If it has hardened further then new tube required.
Also when doing jobs that need multiple tubes I reuse one nozzle, with a carefully prepared tip, across the tubes so have many spares.