This prevents the FlushThread from running while the interpreter is
shutting down and the import machinery is uninitialized.
Also fixed an issue where a KeyboardInterrupt while running multiple
suites with --continueOnFailure would skip to the next suite, rather
than exiting resmoke.py.