How run electron-builder without fail and build no stop

My initial guess is that you have a background process running (e.g., Build doesn't finish after completing tests) that is preventing the shutdown.