Missing close method in db class