InDesignServer (17.2) service restarts every 1-2 minutes and eventually stops responding
I have a server where the InDesignServer service restarts every 1-2 minutes and eventually stops responding. There are no errors in the Event Viewer under Application logs.
It creates two sets of information logs under Application logs every time it restarts:

The first one:
[server] Initializing [4012] [8100]
[server] Loading the application [4012] [8100]
[server] Restoring Object Model [4012] [8100]
[server] Scanning for plug-ins [4012] [8100]
[server] Initializing plug-ins [4012] [8100]
[server] Starting up Service Registry [4012] [8100]
[server] Executing startup services [4012] [8100]
[server] Using configuration configuration_8100 [4012] [8100]
[server] Initializing Application [4012] [8100]
[server] Completing Initialization [4012] [8100]
[server] Image previews are off [4012] [8100]
[server] Server Running [4012] [8100]
[javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign Server 2022\Scripts\startup scripts\ConnectInstancesToESTK.js [4012] [8100]
[javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign Server 2022\Scripts\converturltohyperlink\startup scripts\ConvertURLToHyperlinkMenuItemLoader.jsx [4012] [8100]
[javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign Server 2022\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin [4012] [8100]Then:
[soap] Servicing SOAP requests on port 8100 [4012] [8100]
It repeats these two logs every 1-2 minutes. It does respond to requests when it is running, but drops requests while restarting and eventually stops responding altogether.
When run it from the command line it runs stable without any errors:

How can I find out what is causing it to restart and eventually stop responding?
