diff --git a/server/server.js b/server/server.js index 48b6dff19..627810777 100644 --- a/server/server.js +++ b/server/server.js @@ -280,12 +280,7 @@ const main = async () => { process.on('SIGTERM', () => { log.info('SIGTERM signal received: closing HTTP server'); - terminator.terminate().then(() => { - server.close(() => { - log.info('HTTP server closed'); - process.exit(0); - }); - }); + terminator.terminate(); }); };