How to exit process in node.js? : I want to exit node process when all data will be processed (fetch data, http request with axios and update data). When I run my script by typing `node script.js` it never ends. Script below:

    Keyword.find({
            images: {
                $eq: []
            }
        })
        .limit(8)
        .exec((err, keywords) => {
            keywords.forEach((keyword) => {
                console.log(keyword.body);
                axios.get('https://www.example.com/?q=' + encodeURIComponent(keyword.body))
                    .then(function (response) {
                        const dom = new JSDOM(response.data);
                        let items = dom.window.document.querySelectorAll('div.item');
                        let images = [];
                        items.forEach(((item) => {
                            let url = item.querySelector('a.thumb').href;
                            let source = item.querySelector('a.tit').href;
                            let description = item.querySelector('div.des').innerHTML;
                            images.push({
                                url,
                                source,
                                description
                            });
                        }));
    
                        Keyword.findByIdAndUpdate({
                            _id: keyword._id
                        }, {
                            $set: {
                                images
                            }
                        }, (err2, result2) => {
                            if (err2) console.log(err2);
                            console.log(result2);
                        });
                    })
                    .catch(function (error) {
                        console.log(error);
                    });
            });
        });