Server will not shut down