Refactoring to hide timer inside TaskInfo