Fix pub to close connection to dartlang.org when it's done downloading
Fix pub to close connection to dartlang.org when it's done downloading

See bug http://dartbug.com/4857
fixes: http://dartbug.com/4856

Review URL: https://chromiumcodereview.appspot.com//10913034

git-svn-id: a962b240025cf0577aa172e20f49ccb159ba6be1@11714 260f80e4-7a28-3924-810f-c04153c831b5

maxwellpeterson-wf/pub,cjkao/dart-pub,dart-lang/pub,computmaxer/pub,dart-lang/pub