Energy storage leakage protector