Bug 926264 using a setTimeout before exiting tests and adding some additional logs