Fix another race in the MockIRCServer implementation.