sleep only if we are not using a proxy