STREAM-917: fix for observed unit test deadlock on OSX build machine