Try to make ConnectCommand and DisconnectCommand work.