Retry htpdate when it fails
After #9516 (closed) our automated test suite has started reporting a lot of failures of this kind:
./features/step_definitions/common_steps.rb:344:in `/^the time has synced$/'
because the amount of Tor bootstrapping issues (that generally happens right before where the above error may appear) has decreased.
Just like with #9516 (closed), this is an actual problem with Tails, and not
just a test suite issue. We should add some retrying logic around
htpdate, possibly with a
retry_for()-based shell wrapper. Or we
implement that type of retry-logic (retries + timeouts) in
Feature Branch: bugfix/10494-retry-curl-in-htpdate