vnsi: Fix hang on shutdown