Fixed SocketCommuncation CUDA example (sync within a block)