merge client conn thread in 1