TAJO-846: Clean up the task history in woker

The task history currently store the thread in memory. it can’t store to other storage(hdfs, local file ..). It would be nice if task history separate from taskrunner