Add missing random import.

This fixes a failure with the retrier function. Can you get a release out with this fix ASAP? Thanks!