Add Database disconnect function