Bug 1029679i: handle connection refused error with clean error message