I don't know a better way to do this, but I am a little concerned about the sleep time. All the writes should be done, but there is no guarantee for it. Though I haven't looked at the ```FileSyslogServerEventHandler```, so maybe it's okay. Either way we should keep en eye out for random failures on this test.