Added force option to db.disconnect