[Client] Fix possible goroutine leak in push.

The same as 5a804ac05bc3facd61953908da99310a257727a1
Merge pull request #770 from noxiouz/fix_leak_in_push

[Client] Fix possible goroutine leak in push.