Suppose $A\subseteq \mathbb{R}^d$ is connected and open while its complement $A^c$ is connected too and has non-empty interior. The answers to this question imply that $\partial A$ is then connected too and intuitively that boundary looks like a (possibly rough) $(d-1)-$dimensional surface. Suppose then that $B\subseteq \mathbb{R}^d$ is a set whose $(d-2)-$dimensional Hausdorff measure vanishes. Is $\partial A \setminus B$ still connected then?
Note that the more straightforward question "does removing a set $B$ of zero $(d-2)-$dimensional Hausdorff measure from a connected set $C$ of non-zero $(d-1)-$dimensional Hausdorff measure" has a negative answer since the non-zero $(d-1)-$dimensional measure doesn't prohibit $A$ to have 'narrow bottlenecks'.
My interest in this question arises from a possible application of Dubovitski\v{i}'s Theorem to show something of the sort that for every $f\in \mathbb{C}^2(\mathbb{R}^d,\mathbb{R})$ and $g\in C^1(\mathbb{R}^d,\mathbb{R})$ for which $\forall x \in \mathbb{R}^d$: rank$((\nabla f)(x),(\nabla g)(x))\leq 1$, we have that $g$ is constant on every connected component of a.e. level set of $f$. See this related question for some more context.