big oopsie in MessageHistory.  Cleaning out history but not listeners in MessageHistory.WaitForWorkToFinish()