Continue with API loop after exception