Maintenance of capacitor banks