Fix a bug of processing large block list.
Ref count thread data in transfer.