Fix: check CA not shutdown