Print error on select()/accept() failure