Shutdown export thread