avoiding socket timeout on nginx.