added stop service before restart