Added a timeout to the upload.py urllib.open() call.
Added a timeout to the upload.py urllib.open() call.

This fixes problem when a TCP connection hangs.

Author: hinoka@chromium.org

Review: https://codereview.appspot.com/21530045/

draem0507/rietveld,rietveld-codereview/rietveld,gco/rietveld,gco/rietveld,xtypebee/rietveld,dushmis/rietveld,google-code-export/rietveld,fuzan/rietveld,Koulio/rietveld,DeanHere/rietveld,andyzsf/rietveld,robfig/rietveld,sajingeo/rietveld,foolonhill/rietveld,draem0507/rietveld,xtypebee/rietveld,robfig/rietveld,andyzsf/rietveld,openlabs/cr.openlabs.co.in,berkus/rietveld,v3ss0n/rietveld,ericmckean/rietveld,arg0/rietveld,arg0/rietveld,DeanHere/rietveld,google-code-export/rietveld,aungzanbaw/rietveld,rietveld-codereview/rietveld,rietveld-codereview/rietveld,draem0507/rietveld,dushmis/rietveld,sajingeo/rietveld,Koulio/rietveld,fuzan/rietveld,andyzsf/rietveld,foolonhill/rietveld,openlabs/cr.openlabs.co.in,berkus/rietveld,rietveld-codereview/rietveld,dushmis/rietveld,gavioto/rietveld,fuzan/rietveld,salomon1184/rietveld,ericmckean/rietveld,gavioto/rietveld,robfig/rietveld,foolonhill/rietveld,xtypebee/rietveld,ericmckean/rietveld,gavioto/rietveld,google-code-export/rietveld,v3ss0n/rietveld,salomon1184/rietveld,berkus/rietveld,supriyantomaftuh/rietveld,supriyantomaftuh/rietveld,aungzanbaw/rietveld,aungzanbaw/rietveld,sajingeo/rietveld,DeanHere/rietveld,gco/rietveld,openlabs/cr.openlabs.co.in,v3ss0n/rietveld,salomon1184/rietveld,supriyantomaftuh/rietveld,arg0/rietveld,Koulio/rietveld