Add a mechanism for auto-retrying transfers