It should not come from main thread since top level API creates async tasks. This is a safeguard to not move this code at top level or call directly from broker side.