Add a method close() so one can close the DB connection through the module