This method should be invoked when the entire transaction is
finished with. Currently, this is invoked by AppServer. This method
removes references to the different objects in the transaction,
breaking cyclic reference chains and speeding up garbage collection.