<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)