Restart the Buildkite Agent on Windows when it fails
diff --git a/buildkite/setup-windows.ps1 b/buildkite/setup-windows.ps1
index decfcbc..412d110 100755
--- a/buildkite/setup-windows.ps1
+++ b/buildkite/setup-windows.ps1
@@ -221,6 +221,7 @@
   <description>The Buildkite CI agent.</description>
   <executable>%BASE%\buildkite-agent.exe</executable>
   <arguments>start</arguments>
+  <onfailure action="restart" delay="10 sec"/>
   <startmode>Manual</startmode>
   <logmode>roll</logmode>
 </configuration>