Fixed TCP Connect bug