Finally ConnectCommand and DisconnectCommand work.