fixed: db.connection.end();