reverted to using tcp instad of udp