Bug 862870. Implement splice batching with forced flushes if batching too much