Use better dark magic to restart salt-minion

Change-Id: If0d6a03cbc5bf777186536bbc9c2c26e121bf6ae
diff --git a/cicd-lab-pipeline.groovy b/cicd-lab-pipeline.groovy
index 7caff43..7f15495 100644
--- a/cicd-lab-pipeline.groovy
+++ b/cicd-lab-pipeline.groovy
@@ -167,7 +167,7 @@
                     salt.enforceState(saltMaster, 'I@gerrit:client', 'gerrit', true)
                 } catch (Exception e) {
                     timeout(1) {
-                        salt.cmdRun(saltMaster, 'I@gerrit:client', 'service salt-minion restart')
+                        salt.cmdRun(saltMaster, 'I@gerrit:client', "exec 0>&-; exec 1>&-; exec 2>&-; nohup /bin/sh -c 'salt-call --local service.restart salt-minion' &")
                     }
                     throw e
                 }
@@ -184,7 +184,7 @@
                     salt.enforceState(saltMaster, 'I@jenkins:client', 'jenkins', true)
                 } catch (Exception e) {
                     timeout(1) {
-                        salt.cmdRun(saltMaster, 'I@jenkins:client', 'service salt-minion restart')
+                        salt.cmdRun(saltMaster, 'I@jenkins:client', "exec 0>&-; exec 1>&-; exec 2>&-; nohup /bin/sh -c 'salt-call --local service.restart salt-minion' &")
                     }
                     throw e
                 }