Append timeout logic for web request and webcontentresource