refactor message batching