Analysis of the discharge of the ATLAS Barrel Toroid and End Cap Toroids with different configurations of the protection circuit