Support asynchronous functions in readLines.
Support chunked batch transactions.