Fix race condition in JobLoggerSuite