changes for Scheduler service

You can directly call QueryStatus.isFinished