fixed bug were a null event would cause the batchCompletionLatch to never complete.