SBT to retry dependency resolution on transient errors

We are seeing a lot of

download error: Caught java.net.ConnectException: Connection refused (Connection refused) (Connection refused (Connection refused)) while downloading

on our private repository since 1.4.0+ in our CI. Restarting the job usually does the trick. There may be transient network errors, that could be mitigated by a simple retry.

There isn’t anything like this configurable in SBT, is it?

This would be a useful feature I think.