Use better criteria for determining if child CLI connection is hosed.

Backports commit 2144dc78 for Varnish 3.0.6 (by Geoff)