closing db conn