boolean result = false;
try {
Logger.fetal("Freeing resources " + accountNum1 + " " + accountNum2);
DirectoryManager locator = HyFlow.getLocator();
locator.wakeupWaitingTask(accountNum1, deadline, period_ts, tid);
locator.wakeupWaitingTask(accountNum2, deadline, period_ts, tid);
} catch(TransactionException e){
System.out.println("Transaction Exception in Bank.wakeupWaitingTasksonAbort " + tid);
//e.printStackTrace();
throw e;