code: synchronized void breakLinks() {
          if (links != null) {
              final Link[] l = links.clearLinks();
  
              if (l != null) {
                  final int len = l.length;
  
                  for (int i = 0; i < len; i++) {
                      // send exit "from" remote pids to local ones
                      self.deliver(new OtpMsg(OtpMsg.exitTag, l[i].remote(), l[i]
                              .local(), new OtpErlangAtom("noconnection")));
                  }
              }
          }
      }
docs: /*
  When the connection fails - send exit to all local pids with links
  through this connection