Fix BatchProcess.end(graceful) to be graceful. Replace BatchProcess.end with a promise-based latch.
Fix BatchProcess.end(graceful) to be graceful. Replace BatchProcess.end with a promise-based latch.

mceachen/batch-cluster.js,mceachen/batch-cluster.js