Bug 1009224 - sleep() and waitFor() keeps Firefox running, even it should quit. r=ahal