AutoBootstrapAttempt cancel does not await BootstrapAttempt.cancel
There is a small mistake in TorConnect
where AutoBootstrapAttempt.cancel
awaits #bootstrapAttempt
rather than #bootstrapAttempt.cancel
.
In particular, we want to await the cancel to ensure that we do not have multiple TorBootstrapRequest
instances. Although in practice it is very quick.