wrap cli_tdis() in check to make sure we have a valid cnum