String key = ior.Internet.host + ":" + ior.Internet.port;  Socket socket = SocketRepository.get_socket(key); try { if (socket != null) { socket.close(); } } catch (IOException ex) {  }
  public void release(org.omg.CORBA.Object target)  {    String key = ior.Internet.host + ":" + ior.Internet.port;    Socket socket = SocketRepository.get_socket(key);    try      {        if (socket != null)          {            socket.close();          }      }    catch (IOException ex)      {        // do nothing, then.      }  }