### Godot version

Godot Engine v4.0.beta17.official.c40020513

### System information

Windows 10

### Issue description

When using Godot Beta 17, trying to import .blend files cause Godot to become unresponsive (editor is not rendered and only importer UI is visible, see figure below) for upwards of 30 seconds per file. Every .blend file fails to import throwing a error in the console.

_Figure: Godot unresponsive while trying to import a single .blend file_

![image](https://user-images.githubusercontent.com/40683851/216836047-933fc6d5-52d2-4393-a892-e5382d904bee.png)


_Console output:_ 
```
ERROR: Unexpected status during RPC connection: 4
   at: (modules/gltf/editor/editor_import_blend_runner.cpp:225)
ERROR: Error importing 'res://default_cube.blend'.
   at: _reimport_file (editor/editor_file_system.cpp:2009)
ERROR: Condition "!importer.is_valid()" is true. Continuing.
   at: reimport_files (editor/editor_file_system.cpp:2233)
```

Based on the console output, this bug seems to be related to PR #69319 . This error also **does not** happen on Godot 4 Beta 16.

This error happens with .blend files of various complexity, ranging from nothing but the default cube to meshes with baked images.

This error happens with various RPC ports and RPC server uptime settings as well.

This error also occurs with Blender installs in various locations and versions. I tried Blender 3.4.1 from Steam, Blender 3.4.1 Portable and Blender 3.3.3 LTS Portable.

Expected behavior is for .blend files to import and be able to be used in a scene.

This bug is severely work flow disturbing as Godot tries to reimport .blend files every time the editor is refocused after Alt-Tabbing away, but the bug causes Godot to become unresponsive for ~30+ seconds per file, which quickly adds up if the project contains any number of  .blend files.

### Steps to reproduce

1. Create a empty Godot project in Godot 4 Beta 17.
2. Add a .blend file to the project folder
3. .blend file fails to import after Godot is unresponsive for  30+ seconds.

### Minimal reproduction project

[blender_import_test.zip](https://github.com/godotengine/godot/files/10611728/blender_import_test.zip)

#include "editor_import_blend_runner.h"
#ifdef TOOLS_ENABLED
#include "core/io/http_client.h"
#include "editor/editor_file_system.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
static constexpr char PYTHON_SCRIPT_RPC[] = R"(
import bpy, sys, threading
from xmlrpc.server import SimpleXMLRPCServer
req = threading.Condition()
res = threading.Condition()
info = None
def xmlrpc_server():
  server = SimpleXMLRPCServer(('127.0.0.1', %d))
  server.register_function(export_gltf)
  server.serve_forever()
def export_gltf(opts):
  with req:
    global info
    info = ('export_gltf', opts)
    req.notify()
  with res:
    res.wait()
if bpy.app.version < (3, 0, 0):