added timeout for HTTPConnection
Merge pull request #1 from enkidulan/patch-1

added timeout for HTTPConnection
Merge pull request #7 from enkidulan/master

freezing problem