Fix handling of retry snackbar.
Fix handling of retry snackbar.

Previously, the code would crash when
- a failure happened and
- 'retry' was clicked and
- a second failure happened and
- the second snackbar was dismissed

slapperwan/gh4a,slapperwan/gh4a