Refactor `retry`, and set Librato.source