add timeout to web request