Trap gaierror too.