Tool for queue-like batch processing