About the stability of the tangent bundle restricted to a curve