code: def stop_polling(self):
          
          if hasattr(self, '_polling') and self._polling:
              log.info('Stop polling...')
              self._polling = False
docs: Break long-polling process.
  
          :return: