fixed timeout issue on Titanium