Fix 'local' buglet where delete_namespace() didn't clear the shared state