Limit message count in task to 50