Factored out SetTimeout function in VisaInstrument.