Work around buggy gecko behaviour causing a race condition in resource-t...

...iming test.