Improve closure handling in FileGenerator.Connect() RPC handler.
Improve closure handling in FileGenerator.Connect() RPC handler.

rgooch/Dominator,Symantec/Dominator,keep94/Dominator,keep94/Dominator,Symantec/Dominator,rgooch/Dominator,rgooch/Dominator,keep94/Dominator,Symantec/Dominator