Clean up kernel IPsec flows and security associations on shutdown.