Collect cache INSERTs in a transaction, delegate to a thread