Currently it calls prepare and then commit or rollback on the underlying transaction. There is a one-phase commit method on the underlying transaction that it should call instead.