logic update for asyn commands to not remove a command\'s parent\'s subcommand from the array, but rather check if any of them are still isFinished:no. Fixes threading issue