Prevent job requeue on race conditon

Fix race condition which could result in requeue if batch job exit and node
registration occur at the same time.