{"action":"opened","issue":{"url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/361","labels_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/361/comments","events_url":"https://api.github.com/repos/fsouza/go-dockerclient/issues/361/events","html_url":"https://github.com/fsouza/go-dockerclient/issues/361","id":103837375,"number":361,"title":"Freeze after pull image is finished","user":{"login":"majidgolshadi","id":5164297,"avatar_url":"https://avatars.githubusercontent.com/u/5164297?v=3","gravatar_id":"","url":"https://api.github.com/users/majidgolshadi","html_url":"https://github.com/majidgolshadi","followers_url":"https://api.github.com/users/majidgolshadi/followers","following_url":"https://api.github.com/users/majidgolshadi/following{/other_user}","gists_url":"https://api.github.com/users/majidgolshadi/gists{/gist_id}","starred_url":"https://api.github.com/users/majidgolshadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majidgolshadi/subscriptions","organizations_url":"https://api.github.com/users/majidgolshadi/orgs","repos_url":"https://api.github.com/users/majidgolshadi/repos","events_url":"https://api.github.com/users/majidgolshadi/events{/privacy}","received_events_url":"https://api.github.com/users/majidgolshadi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-29T07:50:53Z","updated_at":"2015-08-29T07:50:53Z","closed_at":null,"body":"I'm using code below\r\n```go\r\nfunc dockerPullImage(box *Box) error {\r\n\trepository := strings.Split(box.Image, \":\")[0]\r\n\ttag := \"latest\"\r\n\tif s := strings.Split(box.Image, \":\"); len(s) > 1 {\r\n\t\ttag = s[1]\r\n\t}\r\n\r\n\treturn dockerClient.PullImage(docker.PullImageOptions{\r\n\t\tOutputStream: box.OutputStream,\r\n\t\tRepository:   repository,\r\n\t\tTag:          tag,\r\n\t}, docker.AuthConfiguration{})\r\n}\r\n```\r\nWhen I call `dockerPullImage` function my app freezes after I saw pulling is finished in the output stream.\r\n\r\nWhy do you think this happens?\r\n"}}