fix : memory leak on load task error