Fixed bug where an exception was thrown because getnameinfo() returned EAI_AGAIN.