Force the screenshots to be taken sequentially by using callbacks