add 2 seconds timeout to avoid long waits when proxy ip is not reachable