Let $X$ be a topological space and let $\left\{ Y_{i}\right\} _{i=1}^{\infty}$ be a descending chain of closed connected subsets of $X$. I know from reading elsewhere that ${\displaystyle \bigcap_{i=1}^{\infty}Y_{i}}$ is not necessarily a connected subspace of $X$ but I have no counter example and I haven't managed to come up with one. There is a counter example here to the same question while also assuming $X$ is compact. However, it uses the quotient topology which I haven't studied about so I would prefer a different counterexample that does not use the quotient topology.
Help would be appreciated!
The answer here can also be said without the quotient:
Let $X:=[-1,1]\cup\{0'\}$ where $0'$ is a new, fictive element, playing the role of a second origin, and define the topology on $[-1,1]$ as usual, and let $(-a,b)\setminus\{0\}\cup\{0'\}$ be a base for open neighborhoods of $0'$.
Now consider $Y_n:=[-1/n,1/n]\cup\{0'\}$.