Hi ObiWein,
Glad to hear you found a workaround. As you figured out it was likely just the machine was not back online yet. Here is an example of a good setup for reboots during a deployment: Link.
It may be helpful for you in the future. Have a great rest of your week.
Thanks,
Jeremy