Remote-dev-server is missing project after restart

Hi folks

I am struggling with a running remote-dev-server which is restarting (first shuts down on a Application.exit()) and then is not bound to it’s initial project any more.
One can see this when calling remote-dev-server status $PROJECT. It returns the status as json.
Initially, when remote-dev-server is started, status is sane:

{
  "appPid": 56,
  "appVersion": "IU-243.23654.153",
  "runtimeVersion": "21.0.5b631.30",
  "unattendedMode": true,
  "backendUnresponsive": false,
  "modalDialogIsOpened": true,
  "idePath": "/idea-server",
  "ideIdentityString": "/home/user/.config/JetBrains/IntelliJIdea2024.3",
  "joinLink": "tcp://127.0.0.1:5990#jt=8a5064db-8a65-41dc-a034-847f161fe9e1&p=IU&fp=30357BE4901A7442E5DCD005BD494A87FE2B4BF29E240874E22F6F5EB62E63A7&cb=243.23654.153&newUi=true&jb=21.0.5b631.30",
  "httpLink": " https://code-with-me.jetbrains.com/remoteDev#idePath=%2Fidea-server&projectPath=%2Fprojects%2Fquarkus-quickstarts&host=workspace83aeff33a7df4318-f65bfbc56-xqh76&port=22&user=user&type=ssh&deploy=false&newUi=true ",
  "gatewayLink": "jetbrains-gateway://connect#idePath=%2Fidea-server&projectPath=%2Fprojects%2Fquarkus-quickstarts&host=workspace83aeff33a7df4318-f65bfbc56-xqh76&port=22&user=user&type=ssh&deploy=false&newUi=true",
  "projects": [
    {
      "projectName": "quarkus-quickstarts",
      "projectPath": "/projects/quarkus-quickstarts",
      "dateLastOpened": 1751984968209,
      "joinLink": "tcp://127.0.0.1:5990#jt=8a5064db-8a65-41dc-a034-847f161fe9e1&p=IU&fp=30357BE4901A7442E5DCD005BD494A87FE2B4BF29E240874E22F6F5EB62E63A7&cb=243.23654.153&newUi=true&jb=21.0.5b631.30",
      "httpLink": " https://code-with-me.jetbrains.com/remoteDev#idePath=%2Fidea-server&projectPath=%2Fprojects%2Fquarkus-quickstarts&host=workspace83aeff33a7df4318-f65bfbc56-xqh76&port=22&user=user&type=ssh&deploy=false&newUi=true ",
      "gatewayLink": "jetbrains-gateway://connect#idePath=%2Fidea-server&projectPath=%2Fprojects%2Fquarkus-quickstarts&host=workspace83aeff33a7df4318-f65bfbc56-xqh76&port=22&user=user&type=ssh&deploy=false&newUi=true",
      "controllerConnected": false,
      "secondsSinceLastControllerActivity": 12803,
      "backgroundTasksRunning": false,
      "users": [
        "user"
      ]
    }
  ]
}

After the restart, the project is missing:

{
  "appPid": 1670,
  "appVersion": "IU-243.23654.153",
  "runtimeVersion": "21.0.5b631.30",
  "unattendedMode": false,
  "backendUnresponsive": false,
  "modalDialogIsOpened": false,
  "idePath": "/idea-server",
  "ideIdentityString": "/home/user/.config/JetBrains/IntelliJIdea2024.3"
}

The problem can’t be reproduced at 100% but it happens quite frequently. Mostly after a period of idle.
I’d higly appreciate any hints that would help me pin point the cause and how to fix this.

ps. I filed this to the eclipse-che issue tracker, where I also have complete logs, if that helps: