Special case db disconnect handling