Mempool backend crashes if I suspend the services backend
Nov 19 10:38:26 [31690] WARN: No pong received within 10 seconds, terminating connection
Nov 19 10:38:26 [31690] INFO: Acceleration websocket closed
Nov 19 10:38:36 [31690] DEBUG: sending ping to acceleration websocket server
unhandledRejection: Error: WebSocket is not open: readyState 0 (CONNECTING)
at WebSocket.ping (/Users/nymkappa/mempool/mempool/backend/node_modules/ws/lib/websocket.js:362:13)
at AccelerationApi.connectWebsocket (/Users/nymkappa/mempool/mempool/backend/dist/api/services/acceleration.js:255:29)
Nov 19 10:38:36 [31690] DEBUG: onExit for signal: unhandledRejection
Nov 19 10:38:36 [31690] DEBUG: onExit for signal: exit
[10:38:36] nymkappa @ /Users/nymkappa/mempool/mempool/backend -> [mononaut/fix-acc-ws-timeout] $
Mempool backend crashes if I suspend the services backend
Originally posted by @nymkappa in https://github.com/mempool/mempool/pull/5649#pullrequestreview-2444878927