synchronized (obj) { obj.notify(); }
synchronized (obj) { try { obj.wait(); } catch (Exception e) {} }