def METHOD_NAME(self):
    while True:
        try:
            self._handle_prompt()
        except Exception as error:
            log.add_debug("CLI input prompt is no longer available: %s", error)
            return
        # Small time window to set custom prompt
        time.sleep(0.75)