added timeout feature for single HTP requests