wait till connection callback have executed on setup