// wait arount for WATCH_SLEEP milliseconds before returning\r
// in the hope that the watcher loop has stopped\r
try {\r
- long time = System.currentTimeMillis()+WATCH_SLEEP;\r
interrupt();\r
+ long time = System.currentTimeMillis()+WATCH_SLEEP;\r
while (running && time>System.currentTimeMillis()) {\r
Thread.sleep(1);\r
}\r