commit only if transaction is activce
Merge branch 'fix-commit'