Fixing logger leak

During the running of some unit tests on a project I was starting and stopping the server. I noticed that on each restart the logging lines would get repeated in ever increasing numbers. I tracked it down to what appears to be a situation where the shutdown of the server is not telling the DDLog system to flush and remove all loggers. So I've added this.