recover from github api failures