OptimizedImage specs are failing with Ruby 3.0.2

Looks like there is a trivial fix there … just add a .to_f

if waiter.join(timeout.to_f)

Can you send a PR through?