Changed TCP to UDP, added server start on second thread for client connect