TAJO-1254: Fix getProgress race conditions in Query