Let $X$ be a compact Hausdorff space (I don't mind assuming it's metrizable). Let $A_i$ $i\in \mathbb{N}$ be a collection of disjoint closed subsets of $X$.

My question: Does there exist a Hausdorff quotient $Y$ such that the quotient $\phi: X \to Y$ satisfies:

a)$\phi(A_i)$ is a single point for each $i$.

b)For distinct $i$ and $j$, $\phi(A_i)\neq \phi(A_j)$.

Remark: The "obvious" equivalence relation obtained by collapsing each of the $A_i$ does not necessarily give a Hausdorff quotient, since a sequence of points $a_i \in A_i$ can accumulate to a point outside the union of the $A_i$. Also the closure of this relation does not appear to be transitive.