Uses 'attempt' instead of 'retry' in where 'retry' can be misleading.