presto-main/src/main/java/io/prestosql/execution/QueryStateMachine.java/QueryStateMachine/clearTransactionId
class QueryStateMachine:    public void clearTransactionId()
    {
        checkArgument(startedTransactionId.get() == null, "Cannot start and clear transaction ID in the same request");
        clearTransactionId.set(true);
    }