add in server shut down scheme