Need check out why db instance no close function