added task instance refresh status function, additional traceback in task engine for better error logging