#17 gracefull db open