check close return value

fixes crash on broken urls

srvctrl gets log messages srvctrl

(0) -100 -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial