Error closing node-oracledb pool connections with Oracle DB and Node.js

I have problems closing the connection to the database in Oracle. First I create the connection without any problems. try { console.log(‘Initializing database module’); await database.initialize(); } catch (err) { console.error(err); process.exit(1); // Non-zero failure code } async function initialize() { console.log(dbConfig.hrPool); const pool = await oracledb.createPool(dbConfig.hrPool); } module.exports.initialize = initialize; when I want to…

Details