Added transaction to flushing