Is connected component of sublevel set of continuous function always path connected?
Let $A\subseteq\Bbb R^2$ be closed and connected but not path connected (for example you can take as $A$ the $\sin(1/x)$-continuum, also called the topologist's sine curve).
Consider $f(x)=d(x,A)$ and look at $S_0$.