code: def greenlet_manage(self):
          
  
          while True:
              try:
                  self.manage()
              except Exception as e:  # pylint: disable=broad-except
                  log.error("When reporting: %s" % e)
              finally:
                  time.sleep(self.config["report_interval"])
docs: This greenlet always runs in background to update current status
              in MongoDB every N seconds.