In case of Hyper-v ssvm/cpvm reboot takes time so made changes to handle this