git-daemon: Log timeout errors and polish code a bit.