wait/notify using sync method and block