Stuck in a SERVICE_STOP_PENDING state when restaring host instances while deploying an application

Recently we got an escalation around deployment timing out when “Restart Host Instances” is set to True in the Deployment properties. It takes a long time for the deployment to occur and logs the errors below.  When “Restart Host Instances” is set to False, the deployment occurs immediately.Event Type: ErrorEvent Source: Service Control ManagerEvent Category: NoneEvent…

1