Avoid trying to start a transaction if there is one already started.