[DEF95055] close-on-exit crashing 3.6+ kernels.

Fix the issue by scanning on flush during process exit, which happens synchronously when closes are scheduled.

[+DLCL]

[git-p4: depot-paths = "//dev/talpa/main/": change = 2389591]
[DEF95055] Correct removal of talpafile temporary debugging variable.

[+DLCL]

[git-p4: depot-paths = "//dev/talpa/main/": change = 2389596]