Fix race condition in syslog sink test

[#78758434]

Signed-off-by: Joseph Rodriguez <jrodriguez@pivotal.io>