Fix race condition in JobLoggerSuite [0.8 branch]

I found this when running the tests locally. It's similar to a race condition found when making the 0.8.0 release.