It is a stitch taken to prevent fraying when you first notice that a seam is wearing out. It saves nmine -- or any other likely number -- because it prevents unraveling of stitches further down the seam so they do not need replacement. The statement is a metaphor for heading trouble off before it multiplies, taking timely action,etc.
A