Properly wait for BalooContentLister to be done before destoying it
Otherwise we get crashes on application shutdown while a query is running