FIXED: Cleaning threads should perform SPARQL Query iteratuvely.