Finish the response once git's stdout is closed
Finish the response once git's stdout is closed

If the 'git cat-file' exits on the same tick as it has writable data in
the socket we can finish the response before the remaining data arrives.
Instead finish the response in stdout is closed which seems cleaner
anyway.

etaoins/git-tree-srv