jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java
protected boolean removeTransaction(final JtxTransaction tx) {
		ArrayList<JtxTransaction> txList = txStack.get();
		if (txList == null) {
			return false;
		}

		boolean removed = txList.remove(tx);
		if (removed) {
			totalTransactions--;
		}

		if (txList.isEmpty()) {
			txStack.remove();
		}

		return removed;
	}
protected boolean removeTransaction(final JtxTransaction tx) {
		ArrayList<JtxTransaction> txList = txStack.get();
		if (txList == null) {
			return false;
		}

		boolean removed = txList.remove(tx);
		if (removed) {
			totalTransactions--;
		}

		if (txList.isEmpty()) {
			txStack.remove();
		}

		return removed;
	}
Removes transaction association with current thread.
Transaction should be properly handled (committed or rolledback)
before removing from current thread.
Also removes thread list from this thread.