Problem with loading of new playlist on Toshiba emulator

I have the network scenario in which I'm checking for the new menus (ACA file) on the HTTP server, download the new menus after that, update the status and finally download the new playlist and load it. The downloaded menus are referred in the new playlist by their new location, that was P-Storage.
The problem is that sometimes Toshiba emulator(firmware 2005) hang up on the loading of the new playlist without any error code. I haven't the issue when testing on HDi simulator.
Here is a snippet from the code:
function downloadFile(fName) {
try {
var internetUri = INTERNET_DIR + fName;
var httpClient = Network.createHTTPClient(internetUri,Network.HTTP_GET,TIMEOUT);
httpClient.downloadFileLocation = "file:///filecache/" + fName;
httpClient.onStateChange = function cbfnHttpClient2(state){
DebugWrite("[httpClient.statusDescription]: "+httpClient.statusDescription);
switch(state){
case httpClient.STATE_COMPLETED:
DebugWrite("[onStateChange state]: STATE_COMPLETED = "+state);
DebugWrite("[DATACache]: " + DataCache.availableFileCacheSize + " kB");
if (fName.substring(fName.length-3) == "XPL"){
Player.playlist.pause();
Player.playlist.load(httpClient.downloadFileLocation);
}
break;
//return true;
case httpClient.STATE_ERROR:
DebugWrite("[httpClient.STATE_ERROR]: "+httpClient.statusDescription);
return false;
}

};
httpClient.send();
}
catch(e){DebugWrite(e.description);}
}

This is the function which is invoked after successful download of the menus.aca file.
Any comments appreciated!
[2158 byte] By [tisho] at [2008-1-4]