Give GenerateDiffReports access to the agent config.
(cherry picked from commit 176d10cb09ccfd066f6997a13b349601e9d3bcce)
Failing to set SO_LINGER is not a catastrophic event, do not exit.
(cherry picked from commit ea9dc564e026364003967f9aa9f3908f031a2254)
Do not log at level ERR non-catastrophic events.
(cherry picked from commit bda5cfd464c2a71e8c9a873cdbb41eb233af722a)
The caller exits, no need to do it in the callee.
(cherry picked from commit efd65c4c29f304ddb0571d03f227cdbf4aeee628)