Added queue based processing for sparql calls and added retry logic for failed queries