handle socket object as class member to safe cycles in SendCommand()