void (UUID sessionId) { if (myCanceledSessions.add(sessionId)) { final Channel channel = getConnectedChannel(sessionId); if (channel != null) { channel.writeAndFlush(CmdlineProtoUtil.toMessage(sessionId, CmdlineProtoUtil.createCancelCommand())); } } }