Retry policy mix-in for Ruby projects