Fixed some overhead in task tree sending