}
TransactionService.get_timer().kill_channel(this);
for (int i = 0;i < syncs.size();i++){
Synchronization sync = (Synchronization)syncs.elementAt(i);
sync.before_completion();
}
if (resources.size() == 1){
Resource r = (Resource)resources.elementAt(0);