Capacitors for relays