dont block the event loop when saving batches - refs #247