Improved bad notification rejection in the mock server.
Used a mock-server-controlled countdown latches for test synchronization (rather than the last write future for each client thread).