Transform global variable really_exiting to static.