Add missing 'random' dependency to retry