add publishWait api