JENKINS-16778: Timestamper makes the build fail if the slave is put offline during the build.

Fixes issue JENKINS-16778

I've tested this on a local Jenkins instance, with one slave.