Sometimes hostname resolution will fail.  Make sure that, if it does, we don't break the ioloop.