added timemout to HTTPConnection