client.command(['state-leave', thisSubscription.watchWithFolder, thisSubscription.stateName], (error, resp2) => {
      if (error) {
        console.error(error);
      }
      console.debug('#### state leave', resp2.root);