add shutdown server code