Be slightly smarter about git-daemon client shutdown