Motivation: SingleThreadEventExecutorTest was flacky. Modifications: Fixed flacky test. Result: No more test failures