Backporting syslog drain fix to Doppler

[#78382678]

Signed-off-by: Trevor Ackerman <tackerman@pivotal.io>