Remove Transaction

Remove Transaction

Hello,

i am creating at runtime a update transaction based on the edit form :

Var
   FUpTrans: TIBCTransaction;

procedure OnFormCreate;
begin
    FUpTrans:= TIBCTransaction.Create(AOwner); <-- AOwner = Form
    FUpTrans.Active := False;
    FUpTrans.DefaultCloseAction := taRollback;
    FUpTrans.DefaultConnection := IBCConnection;
    FUpTrans.IsolationLevel := iblReadCommitted;
    FUpTrans.Name := 'trUp_' + AOwner.Name; <--- Form Name
end;

When closing the form i use : 

procedure OnCloseForm;
begin
   IBCConnection.RemoveTransaction(FUpTrans);
end;

Looking at dbMonitor there are many occurrences of the same transaction name, every time i open the same form. The update transaction is not removed from the database.

What i am doing wrong?
Thanks 
John