Internal friction vs. thermal shock in C/C composites