add null termination for lazy sequence, and add eachSqlResult lazy to the SqlModule