i should point out that this code is massively inconsiderate and badly behaved because there's no rate control; it just hammers out a new request as soon as the old one finishes. You should consider adding a timer and making only one request per minute, or longer. I you truly do need fx rate updats more frequently than this, the decent thing to do would be to contact truefx and asking them for the most efficient way to receive currency updats rather than hammering the living daylights out of the free service they provide...