outgoing.getFD().sync();
    public void onOutgoing(String message) {        try {            outgoing.write(message.getBytes());            outgoing.write('\n');            outgoing.flush();        } catch (IOException e) {            LogUtil.logThrowable(sessionID, "error writing outgoing message to log", e);        }    }