This might be a very specific use case, but for testing small scripts (not using an express server), it might be nice to offer a closeConnection() method on the Driver so that scripts can be completed without having to ^C kill them. I was able to do this by manually calling the closePool() method, but currently the closePool method requires a "pool" argument which seems to be more for internal use (see code snippet below).
var db = require('priam')(options);
db.cql("SELECT * FROM users", [], {consistency: db.consistencyLevel.QUORUM}, function(err, users) {
if(err) {console.log("ERROR: " + err);}
console.log(users);
db.closePool(db.pools.default, function() {
console.log("Pool closed");
});
});