Flexible interwoven termini determine the thermal stability of thermosomes