Tiny thread safety fix in Batch constructor