The very best way to prevent chain failure is: here it comes - get ready. Carry a chain tool incorporated into a multi-tool kit along with a few spare links together with a KMC or Sram Quick Links. When thusly prepared, some cyclists can go an entire cycling career, I'm talking years here, without a bit of chain trouble.