Also make consistent use of bson_dispose