Fixing NPE following the jenkins spec

Slave connections are being cleaned up prior to execution of the script.  We need to account for this.