WFLY-1346 only commit if tx status is active, unexpected tx status for {STATUS_PREPARED, STATUS_COMMITTED, STATUS_UNKNOWN, STATUS_NO_TRANSACTION, STATUS_PREPARING, STATUS_COMMITTING, STATUS_ROLLING_BACK}.  If this change is approved, I'll squash this commit with the other.