Interrupt the current search.

def __interrupt_search(self):
        """
        Interrupt the current search.
        """

        if self.__search_worker_thread:
            self.__search_worker_thread.quit()
            self.__search_worker_thread.wait()
            self.__container.engine.stop_processing(warning=False)