How do I detect crashes in Node.js/Electron when devices disconnects unexpectedly? - EdgeBench