code: def stop_request(self, stop_now=False):
          
          logger.debug("Sending stop request to %s, stop now: %s", self.name, stop_now)
  
          res = self.con.get('stop_request', {'stop_now': '1' if stop_now else '0'})
          return res
docs: Send a stop request to the daemon
  
          :param stop_now: stop now or go to stop wait mode
          :type stop_now: bool
          :return: the daemon response (True)