Updated ConnectionThread with ID