TAJO-630: QueryMasterTask never finished when Internal error occurs.