handle timeouts when requesting URI contents