Prevent the DynaSlaveRetentionStrategy.check() from holding onto the global Hudson object

Use atomic variables for the checks so that the check() method doesn't need to be synchronized.