Changed to use socket for control channel