closeConnectingGEnerator