The exponential backoff algorithm in Go (Golang).