code: def get_new_actions(self):
          
          try:
              _t0 = time.time()
              self.do_get_new_actions()
              statsmgr.timer('actions.got.time', time.time() - _t0)
          except RuntimeError:
              logger.error("Exception like issue #1007")
docs: Wrapper function for do_get_new_actions
          For stats purpose
  
          :return: None
          TODO: Use a decorator for timing this function