.
.
style issues
Move CalculateWaitForRetry to apitools utils.
Remove unused import.
Remove tests.
Fix indent.