What is the use of discharging capacitors