Use non-blocking schedd.xquery instead of blocking query