Thermal and electrical behaviour of a resistive joint in the ATLAS toroids