private static void DoWork(object sender, DoWorkEventArgs e) { // sleep for 20 secs and again call DoWork to get FxRates..we can increase the time to sleep and make it configurable to the needs CCTerminal cc = new CCTerminal(); cc.TerminalValidate("4444333322221111", "1212", "123", 1.99); }