diff --git a/router/java/src/net/i2p/router/client/ClientConnectionRunner.java b/router/java/src/net/i2p/router/client/ClientConnectionRunner.java index 15e4dbd71e..fc046f3e6c 100644 --- a/router/java/src/net/i2p/router/client/ClientConnectionRunner.java +++ b/router/java/src/net/i2p/router/client/ClientConnectionRunner.java @@ -308,6 +308,11 @@ class ClientConnectionRunner { if (_log.shouldLog(Log.WARN)) _log.warn("Error writing out the disconnect message: " + ime); } + // give it a little time to get sent out... + // even better would be to have stopRunning() flush it? + try { + Thread.sleep(50); + } catch (InterruptedException ie) {} stopRunning(); }