In this paper, we study infinite-period mean-variance formulations for portfolio selections with an uncertain exit time. We employ the convergence control method together with the dynamic programming algorithm to derive analytical expressions for the optimal portfolio policy and the mean-variance efficient frontier under certain conditions. We illustrate these results by an numerical example.