AbstractTest fix when running multiple browser instances and the test closes the parent window.