Transform global variable really_exiting into static.