Topological Phase Transition in a Quasi Two Dimensional Coulomb Gas