code: public String exit()
      {
          agent.send(EXIT);
          exit.awaitSilent();
          agent.close();
          return EXITED;
      }
docs: Stops the proxy and exits.
  The call is synchronous.
  
  @return the read status.