Stop bot after 30 consecutive failed API calls