queue actions to be run in batches