void () { for (ProcessDebugger d : allDebuggers()) { d.close(); } disposeAcceptor(); if (!myServerSocket.isClosed()) { try { myServerSocket.close(); } catch (IOException e) { LOG.warn("Error closing socket", e); } } }