Investigate the usage of SocketUtils.temporaryHostnameAndPort in the test codebase. Review the issue comments and any related documentation. Look for alternative test utilities or methods to avoid the race condition. Check if a similar issue or PR exists in the repository history.