Solid-state capacitor protection