add wait notify example