Timeout setup for `getNaturalWidth` unit test.