add timeout for httpc