[FIXED JENKINS-23481] Send onOffline notification to master computer prior Jenkins restart

https://issues.jenkins-ci.org/browse/JENKINS-23481