void () { var serverChannel = myServerChannel; if (serverChannel == null) return; while (true) { try { var socketChannel = serverChannel.accept(); ProcessIOExecutorService.INSTANCE.execute(() -> handleConnection(socketChannel)); } catch (ClosedChannelException e) { break; } catch (IOException e) { LOG.warn(e); break; } } }