Merge branch 'reputation_rebased' (based on impaktor/reputation).
Automatically manage the cancellation of jobs with RAII.