QueryPurger Should retry with a timeout if db connection is not working....

... Also There should be a limit to number of timeouts
@Amareshwari next insert attempt will be after the timeout finishes. So in a sense it's equivalent. 

But we have to make a call on whether we are okay with query history being lost. We can fire an event and send out alerts in this case.