Replaced sync() with a method that works, based on sync2() and Thread.sleep(1)
Authored by: cix_foo 2005-04-09
Parent: [r1973]
Child: [r1975]