docs: public static int pickUnusedPort() {
      try {
        ServerSocket serverSocket = new ServerSocket(0);
        int port = serverSocket.getLocalPort();
        serverSocket.close();
        return port;
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }