/** So long, farewell. */ public void exit() { try { kdbClient.close(); } catch (IOException e) { // } kdbProcess.interrupt(); try { kdbProcess.join(5000); } catch (InterruptedException e) { // } }