} catch (IOException e) {}
} catch (IOException e) { System.err.println("ExternalControlPlugin: Error closing socket."); }
    public void prepareToDie() {      terminating = true;      try {        socket.close();      } catch (IOException e) {}    } // prepareToDie()