Number of retry attempts, before task completely fails.