Thermal management, heating or cooling parts of the thruster