Thermodynamic optimum for electrical connections at cryogenic temperatures