[Bug 1423] - Crash when multiple threads call gethostbyname_r