You’ll see that error if the Jenkins master loses connectivity with the slave. It could be due to any of the three issues you listed above:
-
Manually killing the slave process
-
The slave server becoming unavailable
-
A network problem between the master and the slave