xs: die on socket/poll error like pp_fetch()