Add shutdown logic to server installer