In the parallel test we run, it can sometimes take more than
a second for the JS compartment of a window to close down. Since
that's part of the shutdown of a window, the driver can end up
timing out. Default the timeout to 5s for window-close but make
it possible to specify in the yaml too.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>