Bug 840305 - add timeout retry to ScriptFactory for mozharness unittests.r=aki