Make the IO thread exit cleanly when we kill the interpreter.