In the tests I made, if I don't call the main queue the test fail. So I think this must be do in the main queue.