logic change for rebooting server