reverted atexit closure, Rust bug #2202 is still open.