code: public void unlink(final OtpErlangPid to) {
          links.removeLink(self, to);
  
          try {
              final String node = to.node();
              if (node.equals(home.node())) {
                  home.deliver(new OtpMsg(OtpMsg.unlinkTag, self, to));
              } else {
                  final OtpCookedConnection conn = home.getConnection(node);
                  if (conn != null) {
                      conn.unlink(self, to);
                  }
              }
          } catch (final Exception e) {
          }
      }
docs: <p>
  Remove a link to a remote mailbox or Erlang process. This method removes
  a link created with {@link #link link()}. Links are idempotent; calling
  this method once will remove all links between this mailbox and the
  remote {@link OtpErlangPid pid}.
  </p>
  
  @param to
  the {@link OtpErlangPid pid} representing the object to unlink
  from.