shut down and re-create main server, instead of using a new server instance