@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed) {
        closeSocket();
      }
@Override
      public void processWillTerminate(@NotNull ProcessEvent event, boolean willBeDestroyed)