shutdown DB