Update to the subcommands logic - when a cmd fails all sub commands as well as any dependant commands are cancelled