On the consistent tangent operator algorithm for thermo-plastic problems