Multi-Thread task dispatcher. The messages are dispatched sequentially per message id.