Nodejs encerrar o fio do trabalhador

await worker.terminate()
florinrelea