Add with_retry helper function to handle spurious failures
Created by: adamreichold
This employs an exponential back-off strategy without any parameters for now and is intended to be used by the harvester to handle network errors and internal server errors.
Closes #9 (closed)