fixed db.go to Close() statements