http: handle timeout