Why wait and notify method needs to be called from synchronized context | Dark Hacker News