-Changed the Server shutdown