use HTTP_TIMEOUT for socket timeout instead of hard-coding 60s