set timelimit to tasks and handle error in conversion