Forgot to set activetransaction = false after commit/rollback