Failure modes of conducting yarns in electronic-textile applications