There is a product called fraycheck that will do the trick. It is invisible after it dries, but only use the tiniest bit. It is a bit stiff if you use too much. Next quilt you might try a different thread, and tie the square knot with an extra tie, like 3 halves of a square knot. Happy quilting!