I think this has to stay here so that the server status message can be printed when it exits.