I think https://github.com/apple/foundationdb/blob/08b2123c1c7dda5192b89cedcd5c44cc409c64ee/fdbclient/NativeAPI.actor.cpp#L519 is why you see transaction_too_old
here, and you can mitigate that by getting a read version at least once the normal way on your database object.
Hope that helps