code: def _remove_tmp_path(self, tmp_path):
          
          LOG.debug('_remove_tmp_path(%r)', tmp_path)
          if tmp_path is None and ansible.__version__ > '2.6':
              tmp_path = self._connection._shell.tmpdir  # 06f73ad578d
          if tmp_path is not None:
              self._connection.get_chain().call_no_reply(
                  ansible_mitogen.target.prune_tree,
                  tmp_path,
              )
          self._connection._shell.tmpdir = None
docs: Replace the base implementation's invocation of rm -rf, replacing it
          with a pipelined call to :func:`ansible_mitogen.target.prune_tree`.