Wait & Notify example