keep db open