Solution
To programmatically restart the deployed web services, you can use System Exec.vi with below command to start and stop the deployed web services.
net stop "NI LabVIEW AMQP Host"
net start "NI LabVIEW AMQP Host"

However, do take note that this command will restart all deployed web services.