This post is probably going to be marked as duplicate, but my approach to its solution is incomplete and I can't find any solution which can help me complete it.
Suppose that $S_1, S_2, S_3, \dots$ is a sequence of compact and connected sets in some metric space and $S_1 \supset S_2 \supset S_3\supset \dots$. Is $S=\bigcap S_n$ connected?
My approach: Suppose that $S=A\sqcup A^c$, where $A$ and $A^c$ are both closed. Since all $S_n$ are connected, there must exist $a_n \in S_n$ for all $n$ such that $a_n \notin S$. By compactness, we get a subsequence $(a_{n_k})_k$ of $(a_n)_n$ which converges to some $a$, which belongs to every $S_i$. Hence $a\in S$.
Is it possible to carry on with this approach? I've noticed that I haven't yet used the fact that $S$ (as well as $A$ and $A^c$) is compact. Also, https://math.stackexchange.com/a/2114566/633683 does something quite similar to the above, but I feel there could be a shorter solution...