Sometimes, the script below will block forever. The console only indicates that the jenkins-pipeline gets its jenkins-node. I get no clue about how to solve this occassional